package nyx.dao.record;

import java.util.List;

import nyx.pojo.Record;

import org.apache.ibatis.annotations.Param;

public interface RecordMapper {

	int queryCountByRId(@Param("readerId") int readerId);
	
	int insert(Record record);
	
	int updateReturnDate(@Param("rId")int readerId,@Param("bId")int bId);
	
	List<Record> queryRecordByRId(@Param("rId")int rId);
}
